package com.example.mybatisPlus.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("user_info")//指定表名 防止不规范
public class UserInfo {
        @TableId(type= IdType.AUTO)
        private Integer id;
        private String username;
        private String password;
        private Integer age;
        private Integer gender;
        private String phone;
        @TableField("delete_flag")
        private Integer deleteFlag;
        private Date createTime;
        private Date updateTime;

}
